.trigger {
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  justify-content: space-between;
  min-width: fit-content;
  height: 32px;
  padding: var(--spacing-1half) var(--spacing-2);
  font-family: inherit;
  font-size: var(--font-size-4);
  line-height: 1;
  color: var(--global-foreground);
  cursor: pointer;
  background-color: var(--pane-background);
  border-radius: var(--border-radius-md);
  transition: background-color var(--default-hover-animation-duration)
    var(--default-timing-function);
}

.trigger:hover {
  background-color: var(--pane-background-active);
}

.trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-accent);
}

.trigger:disabled {
  cursor: not-allowed;
}

.trigger:disabled:hover {
  border-color: var(--global-border);
}

.iconAndName {
  display: flex;
  flex: 1;
  gap: var(--spacing-2);
  align-items: center;
  overflow: hidden;
}

.projectIcon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--overlay-50);
}

.projectName {
  font-family: inherit;
  font-size: var(--font-size-4);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  color: var(--global-foreground);
  white-space: nowrap;
}

.chevronIcon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: var(--overlay-70);
}

.content {
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
  border-radius: var(--border-radius-md);
}

.addNewProject {
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  justify-content: flex-start;
  height: 32px;
  padding: var(--spacing-2) !important;
  padding-left: var(--spacing-2) !important;
  font-size: var(--font-size-4);
  color: var(--global-foreground);
  cursor: pointer;
  transition: background-color var(--default-hover-animation-duration)
    var(--default-timing-function);
}

.addNewProject:hover {
  background-color: var(--pane-background-active);
}

.addIcon {
  width: 1rem;
  height: 1rem;
  color: var(--overlay-50);
}

/* Override dropdown separator style */
.content [role='separator'] {
  height: 1px;
  margin: 0 -5px;
  background-color: var(--global-border);
}
